# 2023/2/3  16:38
from api.login_api import LoginApi


def get_headers(mobile="13800000002",password="123456"):

    body={"mobile":mobile,"password":password}
    resp=LoginApi.login(body)
    token="Bearer "+resp.json().get("data")
    headers={"Authorization":token}
    return headers